![]() |
PATH![]() |
![]() ![]() |
You can use one or more of the following mask constants in the modifier keys field of the 'xmnu' resource 'xmnu' to determine which modifier key(s) must be pressed along with a character key to create a keyboard equivalent for selecting a menu item. These constants are also passed in and obtained by SetMenuItemModifiers and GetMenuItemModifiers , respectively. Modifier key mask constants are available with Appearance Manager 1.0 and later.
enum {
kMenuNoModifiers = 0,
kMenuShiftModifier = (1 << 0),
kMenuOptionModifier = (1 << 1),
kMenuControlModifier = (1 << 2),
kMenuNoCommandModifier = (1 << 3)
};
Previous | Back Up One Level | Next |